package com.shop.cereshop.admin.param.shop;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@ApiModel(value = "商家入驻审核参数")
@Data
public class ShopExamineParam {
    @ApiModelProperty(value = "商家ID")
    @NotNull(message = "商家ID不能为空")
    private Long shopId;

    @ApiModelProperty(value = "审核状态 1-通过 2-拒绝")
    @NotNull(message = "审核状态不能为空")
    @Min(value = 1)
    @Max(value = 2)
    private Integer status;

    @ApiModelProperty(value = "拒绝原因")
    @NotBlank(message = "拒绝原因不能为空")
    private String rejectReason;
}

